<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Docs For Class ModelRelation</title>
	<link rel="stylesheet" type="text/css" href="../media/style.css">
	<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
	<td class="header-top-left"><img src="../media/logo.png" border="0" alt="phpDocumentor " /></td>
    <td class="header-top-right">Buan<br /><div class="header-top-right-subpackage"></div></td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td colspan="2" class="header-menu">
      
                        
                      		[ <a href="../classtrees_Buan.html" class="menu">class tree: Buan</a> ]
		[ <a href="../elementindex_Buan.html" class="menu">index: Buan</a> ]
            [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="195" class="menu">
		<div class="package-title">Buan</div>
  <div class="package">
	<div id="todolist">
			<p><a href="../todolist.html">Todo List</a></p>
	</div>
	</div>
      <b>Packages:</b><br />
  <div class="package">
              <a href="../li_Buan.html">Buan</a><br />
      	</div>
      <br />
                        <b>Files:</b><br />
        <div class="package">
				<span style="padding-left: 1em;"><a href="../Buan/_BuanAutoLoader.php.html">BuanAutoLoader.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanConfig.php.html">BuanConfig.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanController.php.html">BuanController.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanCore.php.html">BuanCore.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanDatabase.php.html">BuanDatabase.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanException.php.html">BuanException.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanExtension.php.html">BuanExtension.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanInflector.php.html">BuanInflector.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanModel.php.html">BuanModel.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanModelCollection.php.html">BuanModelCollection.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanModelCriteria.php.html">BuanModelCriteria.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanModelCriteriaGroup.php.html">BuanModelCriteriaGroup.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanModelManager.php.html">BuanModelManager.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanModelRelation.php.html">BuanModelRelation.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanModelTracker.php.html">BuanModelTracker.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanObject.php.html">BuanObject.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanPdoStatementWrapper.php.html">BuanPdoStatementWrapper.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanPdoWrapper.php.html">BuanPdoWrapper.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanSystemLog.php.html">BuanSystemLog.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanSystemLogEntry.php.html">BuanSystemLogEntry.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanUrlCommand.php.html">BuanUrlCommand.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/_BuanView.php.html">BuanView.php</a></span><br />
	  </div>
  <div class="package">
	<strong>ViewHelper</strong><br />			<span style="padding-left: 1em;"><a href="../Buan/ViewHelper/_view-helper---BuanViewHelperHtml.php.html">BuanViewHelperHtml.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../Buan/ViewHelper/_view-helper---BuanViewHelperI18n.php.html">BuanViewHelperI18n.php</a></span><br />
	  </div>
            <br />
                  <b>Classes:</b><br />
        <div class="package">
		    		<a href="../Buan/AutoLoader.html">AutoLoader</a>    	 <br />
	    		<a href="../Buan/Config.html">Config</a>    	 <br />
	    		<a href="../Buan/Controller.html">Controller</a>    	 <br />
	    		<a href="../Buan/Core.html">Core</a>    	 <br />
	    		<a href="../Buan/Database.html">Database</a>    	 <br />
	    		<a href="../Buan/Exception.html">Exception</a>    	 <br />
	    		<a href="../Buan/Extension.html">Extension</a>    	 <br />
	    		<a href="../Buan/Inflector.html">Inflector</a>    	 <br />
	    		<a href="../Buan/Model.html">Model</a>    	 <br />
	    		<a href="../Buan/ModelCollection.html">ModelCollection</a>    	 <br />
	    		<a href="../Buan/ModelCriteria.html">ModelCriteria</a>    	 <br />
	    		<a href="../Buan/ModelCriteriaGroup.html">ModelCriteriaGroup</a>    	 <br />
	    		<a href="../Buan/ModelManager.html">ModelManager</a>    	 <br />
	    		<a href="../Buan/ModelRelation.html">ModelRelation</a>    	 <br />
	    		<a href="../Buan/ModelTracker.html">ModelTracker</a>    	 <br />
	    		<a href="../Buan/Object.html">Object</a>    	 <br />
	    		<a href="../Buan/PdoStatementWrapper.html">PdoStatementWrapper</a>    	 <br />
	    		<a href="../Buan/PdoWrapper.html">PdoWrapper</a>    	 <br />
	    		<a href="../Buan/SystemLog.html">SystemLog</a>    	 <br />
	    		<a href="../Buan/SystemLogEntry.html">SystemLogEntry</a>    	 <br />
	    		<a href="../Buan/UrlCommand.html">UrlCommand</a>    	 <br />
	    		<a href="../Buan/View.html">View</a>    	 <br />
	  </div>
  <div class="package">
	ViewHelper<br />	    <span style="padding-left: 1em;">		<a href="../Buan/ViewHelper/Html.html">Html</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../Buan/ViewHelper/I18n.html">I18n</a>    </span>	 <br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: ModelRelation</h1>
Source Location: /BuanModelRelation.php<br /><br />

<h2 class="class-name">Class ModelRelation</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Class Overview</div>
	<div class="nav-bar">
					<span class="disabled">Class Overview</span>
						
											| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
														| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
														| <a href="#sec-const-summary">Constants Summary</a> | <a href="#sec-consts">Constants Detail</a>
						</div>
	<div class="info-box-body">
		<table width="100%" border="0">
		<tr><td valign="top" width="60%" class="class-overview">

        		
		<p class="notes">
			Located in <a class="field" href="_BuanModelRelation.php.html">/BuanModelRelation.php</a> [<span class="field">line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a6">6</a></span>]
		</p>

		
		<pre></pre>

		
		
		
		</td>

				<td valign="top" width="20%" class="class-overview">
		<p align="center" class="short-description"><strong><a href="#sec_vars">Properties</a></strong></p>
		<ul>
		  		  <li><a href="../Buan/ModelRelation.html#var$cardinality">$cardinality</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#var$foreignKey">$foreignKey</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#var$isRecursive">$isRecursive</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#var$limit">$limit</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#var$modelLink">$modelLink</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#var$modelSource">$modelSource</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#var$modelTarget">$modelTarget</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#var$nativeKey">$nativeKey</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#var$options">$options</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#var$reference">$reference</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#var$relationships">$relationships</a></li>
		  		</ul>
		</td>
		
				<td valign="top" width="20%" class="class-overview">
		<p align="center" class="short-description"><strong><a href="#sec_methods">Methods</a></strong></p>
		<ul>
		  		  <li><a href="../Buan/ModelRelation.html#method__construct">__construct</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methoddefine">define</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetCardinality">getCardinality</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetForeignKey">getForeignKey</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetInverseRelation">getInverseRelation</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetLimit">getLimit</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetLinkModel">getLinkModel</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetManyToManyRelation">getManyToManyRelation</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetNativeKey">getNativeKey</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetOption">getOption</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetReference">getReference</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetRelation">getRelation</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetRelationsByCardinality">getRelationsByCardinality</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetSourceModel">getSourceModel</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodgetTargetModel">getTargetModel</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodisManyToMany">isManyToMany</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodisManyToManyPartial">isManyToManyPartial</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodisManyToOne">isManyToOne</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodisOneToMany">isOneToMany</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodisOneToOne">isOneToOne</a></li>
		  		  <li><a href="../Buan/ModelRelation.html#methodisRecursive">isRecursive</a></li>
		  		</ul>
		</td>
		
		</tr></table>
		<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
</div>



	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
									| <span class="disabled">Constants Summary</span> | <a href="#sec-consts">Constants Detail</a>
												| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
																			| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
									</div>
		<div class="info-box-body">
			<div class="const-summary">
			<table border="0" cellspacing="0" cellpadding="0" class="var-summary">
							<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constMANY_TO_MANY" title="details" class="const-name-summary">MANY_TO_MANY</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description"></td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constMANY_TO_ONE" title="details" class="const-name-summary">MANY_TO_ONE</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description"></td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constNONE" title="details" class="const-name-summary">NONE</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description"></td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constONE_TO_MANY" title="details" class="const-name-summary">ONE_TO_MANY</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description"></td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constONE_TO_ONE" title="details" class="const-name-summary">ONE_TO_ONE</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description"></td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constREF_CHILD" title="details" class="const-name-summary">REF_CHILD</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description"></td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constREF_DEFAULT" title="details" class="const-name-summary">REF_DEFAULT</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description"></td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constREF_PARENT" title="details" class="const-name-summary">REF_PARENT</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description"></td></tr>
				</div>
								</table>
			</div>
			<br /><div class="top">[ <a href="#top">Top</a> ]</div>
		</div>
	</div>

	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Property Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
									| <span class="disabled">Property Summary</span> | <a href="#sec-vars">Properties Detail</a>
												| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
							    		    			    				| <a href="#sec-const-summary">Constants Summary</a> | <a href="#sec-consts">Constants Detail</a>
    			    				</div>
		<div class="info-box-body">
			<div class="var-summary">
			<table border="0" cellspacing="0" cellpadding="0" class="var-summary">
																																																																						<div class="var-title">
					<tr><td class="var-title">static <span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$relationships" title="details" class="var-name-summary">$relationships</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
																<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$cardinality" title="details" class="var-name-summary">$cardinality</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$foreignKey" title="details" class="var-name-summary">$foreignKey</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$isRecursive" title="details" class="var-name-summary">$isRecursive</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$limit" title="details" class="var-name-summary">$limit</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$modelLink" title="details" class="var-name-summary">$modelLink</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$modelSource" title="details" class="var-name-summary">$modelSource</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$modelTarget" title="details" class="var-name-summary">$modelTarget</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$nativeKey" title="details" class="var-name-summary">$nativeKey</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$options" title="details" class="var-name-summary">$options</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$reference" title="details" class="var-name-summary">$reference</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
																</table>
			</div>
			<br /><div class="top">[ <a href="#top">Top</a> ]</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
																		| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
							    		    			    				| <a href="#sec-const-summary">Constants Summary</a> | <a href="#sec-consts">Constants Detail</a>
    			    					| <span class="disabled">Method Summary</span> | <a href="#sec-methods">Methods Detail</a>
		</div>
		<div class="info-box-body">
			<div class="method-summary">
				<table border="0" cellspacing="0" cellpadding="0" class="method-summary">
																				<div class="method-definition">
					<tr><td class="method-definition">static
											<span class="method-result">void</span>&nbsp;&nbsp;
					</td>
					<td class="method-definition"><a href="#define" title="details" class="method-name">define</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																																																																																								<div class="method-definition">
					<tr><td class="method-definition">static
											<span class="method-result">void</span>&nbsp;&nbsp;
					</td>
					<td class="method-definition"><a href="#getRelation" title="details" class="method-name">getRelation</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
					<tr><td class="method-definition">static
											<span class="method-result">void</span>&nbsp;&nbsp;
					</td>
					<td class="method-definition"><a href="#getRelationsByCardinality" title="details" class="method-name">getRelationsByCardinality</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																																																																																				<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">ModelRelation</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#__construct" title="details" class="method-name">__construct</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																								<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getCardinality" title="details" class="method-name">getCardinality</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getForeignKey" title="details" class="method-name">getForeignKey</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getInverseRelation" title="details" class="method-name">getInverseRelation</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getLimit" title="details" class="method-name">getLimit</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getLinkModel" title="details" class="method-name">getLinkModel</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getManyToManyRelation" title="details" class="method-name">getManyToManyRelation</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getNativeKey" title="details" class="method-name">getNativeKey</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getOption" title="details" class="method-name">getOption</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getReference" title="details" class="method-name">getReference</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getSourceModel" title="details" class="method-name">getSourceModel</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getTargetModel" title="details" class="method-name">getTargetModel</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#isManyToMany" title="details" class="method-name">isManyToMany</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#isManyToManyPartial" title="details" class="method-name">isManyToManyPartial</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#isManyToOne" title="details" class="method-name">isManyToOne</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#isOneToMany" title="details" class="method-name">isOneToMany</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#isOneToOne" title="details" class="method-name">isOneToOne</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#isRecursive" title="details" class="method-name">isRecursive</a>()&nbsp;&nbsp;</td>
					<td class="method-definition"></td></tr>
				</div>
												</table>
			</div>
			<br /><div class="top">[ <a href="#top">Top</a> ]</div>
		</div>
	</div>

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Properties</div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
													| <a href="#sec-var-summary">Property Summary</a> | <span class="disabled">Properties Detail</span>
															| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
																			| <a href="#sec-const-summary">Constants Summary</a> | <a href="#sec-consts">Constants Detail</a>
									</div>
		<div class="info-box-body">
			<a name="var$relationships" id="$relationships"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$relationships</span>
			 = <span class="var-default">array()</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a141">141</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$cardinality" id="$cardinality"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$cardinality</span>
			 = <span class="var-default"> NULL</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a62">62</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$foreignKey" id="$foreignKey"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$foreignKey</span>
			 = <span class="var-default"> NULL</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a121">121</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$isRecursive" id="$isRecursive"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$isRecursive</span>
			 = <span class="var-default"> FALSE</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a71">71</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$limit" id="$limit"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$limit</span>
			 = <span class="var-default"> NULL</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a78">78</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$modelLink" id="$modelLink"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$modelLink</span>
			 = <span class="var-default"> NULL</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a102">102</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$modelSource" id="$modelSource"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$modelSource</span>
			 = <span class="var-default"> NULL</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a85">85</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$modelTarget" id="$modelTarget"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$modelTarget</span>
			 = <span class="var-default"> NULL</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a92">92</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$nativeKey" id="$nativeKey"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$nativeKey</span>
			 = <span class="var-default"> NULL</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a115">115</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$options" id="$options"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$options</span>
			 = <span class="var-default">array()</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a130">130</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$reference" id="$reference"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$reference</span>
			 = <span class="var-default"> NULL</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a109">109</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
		</div>
	</div>

	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
																		| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
																			| <a href="#sec-const-summary">Constants Summary</a> | <a href="#sec-consts">Constants Detail</a>
														| <a href="#sec-method-summary">Method Summary</a> | <span class="disabled">Methods Detail</span>
					</div>
		<div class="info-box-body">
			<a name='method_detail'></a>
<a name="methoddefine" id="define"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">static method define</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a238">238</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>static void define(

$relationship, [
$options = NULL], [
$relationRef = NULL], [
$manyToManyPartial = NULL]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$relationship:&nbsp;</span></td>
				<td>
							</td></tr>
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$options:&nbsp;</span></td>
				<td>
							</td></tr>
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$relationRef:&nbsp;</span></td>
				<td>
							</td></tr>
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$manyToManyPartial:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetRelation" id="getRelation"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">static method getRelation</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a467">467</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>static void getRelation(

$modelSource, [
$modelTarget = NULL], [
$relationRef = NULL]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$modelSource:&nbsp;</span></td>
				<td>
							</td></tr>
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$modelTarget:&nbsp;</span></td>
				<td>
							</td></tr>
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$relationRef:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetRelationsByCardinality" id="getRelationsByCardinality"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">static method getRelationsByCardinality</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a526">526</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>static void getRelationsByCardinality(

$modelSource, 
$cardinality&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$modelSource:&nbsp;</span></td>
				<td>
							</td></tr>
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$cardinality:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">Constructor __construct</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a164">164</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>ModelRelation __construct(

$params&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$params:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetCardinality" id="getCardinality"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">getCardinality</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a586">586</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getCardinality(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetForeignKey" id="getForeignKey"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">getForeignKey</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a607">607</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getForeignKey(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetInverseRelation" id="getInverseRelation"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">getInverseRelation</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a692">692</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getInverseRelation(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetLimit" id="getLimit"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">getLimit</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a597">597</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getLimit(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetLinkModel" id="getLinkModel"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">getLinkModel</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a564">564</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getLinkModel(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetManyToManyRelation" id="getManyToManyRelation"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">getManyToManyRelation</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a682">682</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getManyToManyRelation(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetNativeKey" id="getNativeKey"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">getNativeKey</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a603">603</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getNativeKey(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetOption" id="getOption"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">getOption</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a617">617</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getOption(

$option&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$option:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetReference" id="getReference"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">getReference</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a575">575</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getReference(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetSourceModel" id="getSourceModel"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">getSourceModel</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a542">542</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getSourceModel(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetTargetModel" id="getTargetModel"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">getTargetModel</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a553">553</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getTargetModel(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodisManyToMany" id="isManyToMany"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">isManyToMany</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a676">676</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void isManyToMany(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodisManyToManyPartial" id="isManyToManyPartial"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">isManyToManyPartial</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a634">634</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void isManyToManyPartial(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodisManyToOne" id="isManyToOne"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">isManyToOne</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a665">665</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void isManyToOne(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodisOneToMany" id="isOneToMany"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">isOneToMany</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a654">654</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void isOneToMany(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodisOneToOne" id="isOneToOne"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">isOneToOne</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a643">643</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void isOneToOne(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodisRecursive" id="isRecursive"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">isRecursive</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a628">628</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void isRecursive(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
										| <a href="#sec-const-summary">Constants Summary</a> | <span class="disabled">Constants Detail</span>
																		| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
									</div>
		<div class="info-box-body">
			<a name="constMANY_TO_MANY" id="MANY_TO_MANY"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">MANY_TO_MANY</span>
			 = <span class="var-default"> 4</span>
			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a36">36</a>]</span>
		</span>
	</div>

		

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constMANY_TO_ONE" id="MANY_TO_ONE"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">MANY_TO_ONE</span>
			 = <span class="var-default"> 3</span>
			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a30">30</a>]</span>
		</span>
	</div>

		

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constNONE" id="NONE"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">NONE</span>
			 = <span class="var-default"> 0</span>
			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a12">12</a>]</span>
		</span>
	</div>

		

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constONE_TO_MANY" id="ONE_TO_MANY"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">ONE_TO_MANY</span>
			 = <span class="var-default"> 2</span>
			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a24">24</a>]</span>
		</span>
	</div>

		

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constONE_TO_ONE" id="ONE_TO_ONE"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">ONE_TO_ONE</span>
			 = <span class="var-default"> 1</span>
			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a18">18</a>]</span>
		</span>
	</div>

		

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constREF_CHILD" id="REF_CHILD"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">REF_CHILD</span>
			 = <span class="var-default"> '__child__'</span>
			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a56">56</a>]</span>
		</span>
	</div>

		

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constREF_DEFAULT" id="REF_DEFAULT"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">REF_DEFAULT</span>
			 = <span class="var-default"> '__default__'</span>
			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a42">42</a>]</span>
		</span>
	</div>

		

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constREF_PARENT" id="REF_PARENT"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">REF_PARENT</span>
			 = <span class="var-default"> '__default__'</span>
			<span class="smalllinenumber">[line <a href="../__filesource/fsource_Buan__BuanModelRelation.php.html#a50">50</a>]</span>
		</span>
	</div>

		

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
		</div>
	</div>

        <div class="credit">
		    <hr class="separator" />
		    Documentation generated on Tue, 04 Aug 2009 19:59:07 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>